package com.mtw.bbs.userAdmin.feign;

import com.mtw.bbs.common.core.vo.Result;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * Feign失败配置
 */
@Component("flowClient")
public class FlowClientFallback implements FlowClient {


    @Override
    public Result<List<String>> getFlowUserById(String userId) {
        return new Result<>(new ArrayList<>(0));
    }
}
